import {Router} from "express";
import VenueController from "@/controllers/VenueController";

const router = Router();

// 创建场馆
router.post("/create", VenueController.createVenue);

// 获取场馆列表
router.get("/getList", VenueController.getVenueList);

// 更新场馆信息
router.put("/update", VenueController.updateVenue);

// 删除场馆
router.delete("/delete", VenueController.deleteVenue);

// 获取单个场馆信息
router.get("/venueInfo", VenueController.getVenueById);

// 获取场馆下拉列表
router.get("/selectList", VenueController.getVenueSelectListByVenueName);


export default router;
